﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000A63 RID: 2659
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class LNFPOIOEBKD : IMessage<LNFPOIOEBKD>, IMessage, IEquatable<LNFPOIOEBKD>, IDeepCloneable<LNFPOIOEBKD>, IBufferMessage
	{
		// Token: 0x1700219E RID: 8606
		// (get) Token: 0x06007722 RID: 30498 RVA: 0x0013E6EE File Offset: 0x0013C8EE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<LNFPOIOEBKD> Parser
		{
			get
			{
				return LNFPOIOEBKD._parser;
			}
		}

		// Token: 0x1700219F RID: 8607
		// (get) Token: 0x06007723 RID: 30499 RVA: 0x0013E6F5 File Offset: 0x0013C8F5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return LNFPOIOEBKDReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170021A0 RID: 8608
		// (get) Token: 0x06007724 RID: 30500 RVA: 0x0013E707 File Offset: 0x0013C907
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return LNFPOIOEBKD.Descriptor;
			}
		}

		// Token: 0x06007725 RID: 30501 RVA: 0x0013E70E File Offset: 0x0013C90E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LNFPOIOEBKD()
		{
		}

		// Token: 0x06007726 RID: 30502 RVA: 0x0013E72C File Offset: 0x0013C92C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LNFPOIOEBKD(LNFPOIOEBKD other) : this()
		{
			this.nCGBELLILFJ_ = other.nCGBELLILFJ_;
			this.chessRogueMiracleInfo_ = ((other.chessRogueMiracleInfo_ != null) ? other.chessRogueMiracleInfo_.Clone() : null);
			this.lBHJLPCJDPA_ = other.lBHJLPCJDPA_;
			this.trialAvatarIdList_ = other.trialAvatarIdList_.Clone();
			this.mapId_ = other.mapId_;
			this.status_ = other.status_;
			this.kDIDAJIDAKA_ = other.kDIDAJIDAKA_;
			this.baseAvatarIdList_ = other.baseAvatarIdList_.Clone();
			this.chessRogueBuffInfo_ = ((other.chessRogueBuffInfo_ != null) ? other.chessRogueBuffInfo_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06007727 RID: 30503 RVA: 0x0013E7E6 File Offset: 0x0013C9E6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LNFPOIOEBKD Clone()
		{
			return new LNFPOIOEBKD(this);
		}

		// Token: 0x170021A1 RID: 8609
		// (get) Token: 0x06007728 RID: 30504 RVA: 0x0013E7EE File Offset: 0x0013C9EE
		// (set) Token: 0x06007729 RID: 30505 RVA: 0x0013E7F6 File Offset: 0x0013C9F6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint NCGBELLILFJ
		{
			get
			{
				return this.nCGBELLILFJ_;
			}
			set
			{
				this.nCGBELLILFJ_ = value;
			}
		}

		// Token: 0x170021A2 RID: 8610
		// (get) Token: 0x0600772A RID: 30506 RVA: 0x0013E7FF File Offset: 0x0013C9FF
		// (set) Token: 0x0600772B RID: 30507 RVA: 0x0013E807 File Offset: 0x0013CA07
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueMiracle ChessRogueMiracleInfo
		{
			get
			{
				return this.chessRogueMiracleInfo_;
			}
			set
			{
				this.chessRogueMiracleInfo_ = value;
			}
		}

		// Token: 0x170021A3 RID: 8611
		// (get) Token: 0x0600772C RID: 30508 RVA: 0x0013E810 File Offset: 0x0013CA10
		// (set) Token: 0x0600772D RID: 30509 RVA: 0x0013E818 File Offset: 0x0013CA18
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint LBHJLPCJDPA
		{
			get
			{
				return this.lBHJLPCJDPA_;
			}
			set
			{
				this.lBHJLPCJDPA_ = value;
			}
		}

		// Token: 0x170021A4 RID: 8612
		// (get) Token: 0x0600772E RID: 30510 RVA: 0x0013E821 File Offset: 0x0013CA21
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> TrialAvatarIdList
		{
			get
			{
				return this.trialAvatarIdList_;
			}
		}

		// Token: 0x170021A5 RID: 8613
		// (get) Token: 0x0600772F RID: 30511 RVA: 0x0013E829 File Offset: 0x0013CA29
		// (set) Token: 0x06007730 RID: 30512 RVA: 0x0013E831 File Offset: 0x0013CA31
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint MapId
		{
			get
			{
				return this.mapId_;
			}
			set
			{
				this.mapId_ = value;
			}
		}

		// Token: 0x170021A6 RID: 8614
		// (get) Token: 0x06007731 RID: 30513 RVA: 0x0013E83A File Offset: 0x0013CA3A
		// (set) Token: 0x06007732 RID: 30514 RVA: 0x0013E842 File Offset: 0x0013CA42
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueStatus Status
		{
			get
			{
				return this.status_;
			}
			set
			{
				this.status_ = value;
			}
		}

		// Token: 0x170021A7 RID: 8615
		// (get) Token: 0x06007733 RID: 30515 RVA: 0x0013E84B File Offset: 0x0013CA4B
		// (set) Token: 0x06007734 RID: 30516 RVA: 0x0013E853 File Offset: 0x0013CA53
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint KDIDAJIDAKA
		{
			get
			{
				return this.kDIDAJIDAKA_;
			}
			set
			{
				this.kDIDAJIDAKA_ = value;
			}
		}

		// Token: 0x170021A8 RID: 8616
		// (get) Token: 0x06007735 RID: 30517 RVA: 0x0013E85C File Offset: 0x0013CA5C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> BaseAvatarIdList
		{
			get
			{
				return this.baseAvatarIdList_;
			}
		}

		// Token: 0x170021A9 RID: 8617
		// (get) Token: 0x06007736 RID: 30518 RVA: 0x0013E864 File Offset: 0x0013CA64
		// (set) Token: 0x06007737 RID: 30519 RVA: 0x0013E86C File Offset: 0x0013CA6C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueBuff ChessRogueBuffInfo
		{
			get
			{
				return this.chessRogueBuffInfo_;
			}
			set
			{
				this.chessRogueBuffInfo_ = value;
			}
		}

		// Token: 0x06007738 RID: 30520 RVA: 0x0013E875 File Offset: 0x0013CA75
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as LNFPOIOEBKD);
		}

		// Token: 0x06007739 RID: 30521 RVA: 0x0013E884 File Offset: 0x0013CA84
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(LNFPOIOEBKD other)
		{
			return other != null && (other == this || (this.NCGBELLILFJ == other.NCGBELLILFJ && object.Equals(this.ChessRogueMiracleInfo, other.ChessRogueMiracleInfo) && this.LBHJLPCJDPA == other.LBHJLPCJDPA && this.trialAvatarIdList_.Equals(other.trialAvatarIdList_) && this.MapId == other.MapId && this.Status == other.Status && this.KDIDAJIDAKA == other.KDIDAJIDAKA && this.baseAvatarIdList_.Equals(other.baseAvatarIdList_) && object.Equals(this.ChessRogueBuffInfo, other.ChessRogueBuffInfo) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600773A RID: 30522 RVA: 0x0013E954 File Offset: 0x0013CB54
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.NCGBELLILFJ != 0U)
			{
				num ^= this.NCGBELLILFJ.GetHashCode();
			}
			if (this.chessRogueMiracleInfo_ != null)
			{
				num ^= this.ChessRogueMiracleInfo.GetHashCode();
			}
			if (this.LBHJLPCJDPA != 0U)
			{
				num ^= this.LBHJLPCJDPA.GetHashCode();
			}
			num ^= this.trialAvatarIdList_.GetHashCode();
			if (this.MapId != 0U)
			{
				num ^= this.MapId.GetHashCode();
			}
			if (this.Status != RogueStatus.None)
			{
				num ^= this.Status.GetHashCode();
			}
			if (this.KDIDAJIDAKA != 0U)
			{
				num ^= this.KDIDAJIDAKA.GetHashCode();
			}
			num ^= this.baseAvatarIdList_.GetHashCode();
			if (this.chessRogueBuffInfo_ != null)
			{
				num ^= this.ChessRogueBuffInfo.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600773B RID: 30523 RVA: 0x0013EA45 File Offset: 0x0013CC45
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600773C RID: 30524 RVA: 0x0013EA4D File Offset: 0x0013CC4D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600773D RID: 30525 RVA: 0x0013EA58 File Offset: 0x0013CC58
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.LBHJLPCJDPA != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.LBHJLPCJDPA);
			}
			if (this.Status != RogueStatus.None)
			{
				output.WriteRawTag(16);
				output.WriteEnum((int)this.Status);
			}
			if (this.chessRogueBuffInfo_ != null)
			{
				output.WriteRawTag(34);
				output.WriteMessage(this.ChessRogueBuffInfo);
			}
			if (this.chessRogueMiracleInfo_ != null)
			{
				output.WriteRawTag(58);
				output.WriteMessage(this.ChessRogueMiracleInfo);
			}
			if (this.NCGBELLILFJ != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.NCGBELLILFJ);
			}
			if (this.KDIDAJIDAKA != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.KDIDAJIDAKA);
			}
			if (this.MapId != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.MapId);
			}
			this.trialAvatarIdList_.WriteTo(ref output, LNFPOIOEBKD._repeated_trialAvatarIdList_codec);
			this.baseAvatarIdList_.WriteTo(ref output, LNFPOIOEBKD._repeated_baseAvatarIdList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600773E RID: 30526 RVA: 0x0013EB60 File Offset: 0x0013CD60
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.NCGBELLILFJ != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.NCGBELLILFJ);
			}
			if (this.chessRogueMiracleInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.ChessRogueMiracleInfo);
			}
			if (this.LBHJLPCJDPA != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.LBHJLPCJDPA);
			}
			num += this.trialAvatarIdList_.CalculateSize(LNFPOIOEBKD._repeated_trialAvatarIdList_codec);
			if (this.MapId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.MapId);
			}
			if (this.Status != RogueStatus.None)
			{
				num += 1 + CodedOutputStream.ComputeEnumSize((int)this.Status);
			}
			if (this.KDIDAJIDAKA != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.KDIDAJIDAKA);
			}
			num += this.baseAvatarIdList_.CalculateSize(LNFPOIOEBKD._repeated_baseAvatarIdList_codec);
			if (this.chessRogueBuffInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.ChessRogueBuffInfo);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600773F RID: 30527 RVA: 0x0013EC54 File Offset: 0x0013CE54
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(LNFPOIOEBKD other)
		{
			if (other == null)
			{
				return;
			}
			if (other.NCGBELLILFJ != 0U)
			{
				this.NCGBELLILFJ = other.NCGBELLILFJ;
			}
			if (other.chessRogueMiracleInfo_ != null)
			{
				if (this.chessRogueMiracleInfo_ == null)
				{
					this.ChessRogueMiracleInfo = new ChessRogueMiracle();
				}
				this.ChessRogueMiracleInfo.MergeFrom(other.ChessRogueMiracleInfo);
			}
			if (other.LBHJLPCJDPA != 0U)
			{
				this.LBHJLPCJDPA = other.LBHJLPCJDPA;
			}
			this.trialAvatarIdList_.Add(other.trialAvatarIdList_);
			if (other.MapId != 0U)
			{
				this.MapId = other.MapId;
			}
			if (other.Status != RogueStatus.None)
			{
				this.Status = other.Status;
			}
			if (other.KDIDAJIDAKA != 0U)
			{
				this.KDIDAJIDAKA = other.KDIDAJIDAKA;
			}
			this.baseAvatarIdList_.Add(other.baseAvatarIdList_);
			if (other.chessRogueBuffInfo_ != null)
			{
				if (this.chessRogueBuffInfo_ == null)
				{
					this.ChessRogueBuffInfo = new ChessRogueBuff();
				}
				this.ChessRogueBuffInfo.MergeFrom(other.ChessRogueBuffInfo);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06007740 RID: 30528 RVA: 0x0013ED5A File Offset: 0x0013CF5A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06007741 RID: 30529 RVA: 0x0013ED64 File Offset: 0x0013CF64
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num > 64U)
				{
					if (num <= 96U)
					{
						if (num == 72U)
						{
							this.KDIDAJIDAKA = input.ReadUInt32();
							continue;
						}
						if (num == 80U)
						{
							this.MapId = input.ReadUInt32();
							continue;
						}
						if (num != 96U)
						{
							goto IL_6B;
						}
					}
					else if (num != 98U)
					{
						if (num != 104U && num != 106U)
						{
							goto IL_6B;
						}
						this.baseAvatarIdList_.AddEntriesFrom(ref input, LNFPOIOEBKD._repeated_baseAvatarIdList_codec);
						continue;
					}
					this.trialAvatarIdList_.AddEntriesFrom(ref input, LNFPOIOEBKD._repeated_trialAvatarIdList_codec);
					continue;
				}
				if (num <= 16U)
				{
					if (num == 8U)
					{
						this.LBHJLPCJDPA = input.ReadUInt32();
						continue;
					}
					if (num == 16U)
					{
						this.Status = (RogueStatus)input.ReadEnum();
						continue;
					}
				}
				else
				{
					if (num == 34U)
					{
						if (this.chessRogueBuffInfo_ == null)
						{
							this.ChessRogueBuffInfo = new ChessRogueBuff();
						}
						input.ReadMessage(this.ChessRogueBuffInfo);
						continue;
					}
					if (num == 58U)
					{
						if (this.chessRogueMiracleInfo_ == null)
						{
							this.ChessRogueMiracleInfo = new ChessRogueMiracle();
						}
						input.ReadMessage(this.ChessRogueMiracleInfo);
						continue;
					}
					if (num == 64U)
					{
						this.NCGBELLILFJ = input.ReadUInt32();
						continue;
					}
				}
				IL_6B:
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04002D8B RID: 11659
		private static readonly MessageParser<LNFPOIOEBKD> _parser = new MessageParser<LNFPOIOEBKD>(() => new LNFPOIOEBKD());

		// Token: 0x04002D8C RID: 11660
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002D8D RID: 11661
		public const int NCGBELLILFJFieldNumber = 8;

		// Token: 0x04002D8E RID: 11662
		private uint nCGBELLILFJ_;

		// Token: 0x04002D8F RID: 11663
		public const int ChessRogueMiracleInfoFieldNumber = 7;

		// Token: 0x04002D90 RID: 11664
		private ChessRogueMiracle chessRogueMiracleInfo_;

		// Token: 0x04002D91 RID: 11665
		public const int LBHJLPCJDPAFieldNumber = 1;

		// Token: 0x04002D92 RID: 11666
		private uint lBHJLPCJDPA_;

		// Token: 0x04002D93 RID: 11667
		public const int TrialAvatarIdListFieldNumber = 12;

		// Token: 0x04002D94 RID: 11668
		private static readonly FieldCodec<uint> _repeated_trialAvatarIdList_codec = FieldCodec.ForUInt32(98U);

		// Token: 0x04002D95 RID: 11669
		private readonly RepeatedField<uint> trialAvatarIdList_ = new RepeatedField<uint>();

		// Token: 0x04002D96 RID: 11670
		public const int MapIdFieldNumber = 10;

		// Token: 0x04002D97 RID: 11671
		private uint mapId_;

		// Token: 0x04002D98 RID: 11672
		public const int StatusFieldNumber = 2;

		// Token: 0x04002D99 RID: 11673
		private RogueStatus status_;

		// Token: 0x04002D9A RID: 11674
		public const int KDIDAJIDAKAFieldNumber = 9;

		// Token: 0x04002D9B RID: 11675
		private uint kDIDAJIDAKA_;

		// Token: 0x04002D9C RID: 11676
		public const int BaseAvatarIdListFieldNumber = 13;

		// Token: 0x04002D9D RID: 11677
		private static readonly FieldCodec<uint> _repeated_baseAvatarIdList_codec = FieldCodec.ForUInt32(106U);

		// Token: 0x04002D9E RID: 11678
		private readonly RepeatedField<uint> baseAvatarIdList_ = new RepeatedField<uint>();

		// Token: 0x04002D9F RID: 11679
		public const int ChessRogueBuffInfoFieldNumber = 4;

		// Token: 0x04002DA0 RID: 11680
		private ChessRogueBuff chessRogueBuffInfo_;
	}
}
